package com.zkthink.ceres.applet.authority.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName UpdateAppDTO
 * @Description: UpdateAppDTO
 * @Author zxw
 * @Date 2021/1/4
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "UpdateAppDTO", description = "修改密码")
public class UpdateAppDTO implements Serializable {


    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "用户名不允许为空")
    private String account;

    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "老密码不允许为空")
    private String oldPassword;

    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "新密码不允许为空")
    private String newPassword;


}
